package com.im.user.client;

import com.im.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Created leijun
 * @Date 2021/11/18 10:10 下午
 */
@FeignClient("im-sso")
public interface SsoClient{

    @PostMapping("login")
    Result<String> login(String username, String password);

}
